package com.ymatou.shop.ui.activity;

import android.widget.Button;
import android.widget.ImageButton;
import android.widget.TextView;

import com.ymatou.shop.R;

public class BaseHeaderActivity extends BaseActivity {
	
	private TextView mTitleTextView;
	private ImageButton mTitleLeftImageButton;
	private ImageButton mTitleRightImageButton1;
	private ImageButton mtitleRightImageButton2;
	private Button mTitleLeftButton;
	private Button mTitleRightButton;
	
	@Override
	protected void setupViews() {
		super.setupViews();
		
		mTitleTextView = (TextView) findViewById(R.id.title);
		mTitleLeftImageButton = (ImageButton) findViewById(R.id.title_left_image_button);
		mTitleRightImageButton1 = (ImageButton) findViewById(R.id.title_right_image_button1);
		mtitleRightImageButton2 = (ImageButton) findViewById(R.id.title_right_image_button2);
		mTitleLeftButton = (Button) findViewById(R.id.title_left_button);
		mTitleRightButton = (Button) findViewById(R.id.title_right_button);
	}
	
	protected TextView getTitleTextView() {
		return mTitleTextView;
	}
	
	protected ImageButton getTitleLeftImageButton() {
		return mTitleLeftImageButton;
	}
	
	protected ImageButton getTitleRightImageButton1() {
		return mTitleRightImageButton1;
	}
	
	protected ImageButton getTitleRightImageButton2() {
		return mtitleRightImageButton2;
	}
	
	protected Button getTitleLeftButton() {
		return mTitleLeftButton;
	}
	
	protected Button getTitleRightButton() {
		return mTitleRightButton;
	}
}
